package cn.com.lyb.workflow.entity.dto;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

public class SaveWorkflowDTO {
    private Long id;

    @ApiModelProperty(value = "工作流名称")
    private String name;

    @ApiModelProperty(value = "工作流描述")
    private String description;

    @ApiModelProperty(value = "坐标")
    private List<Locations> locations;

    @ApiModelProperty(value = "任务节点详情")
    private List<WorkflowJobDTO> taskDTOList;

    @ApiModelProperty(value = "任务联系")
    private List<TaskRelation> taskRelations;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<Locations> getLocations() {
        return locations;
    }

    public void setLocations(List<Locations> locations) {
        this.locations = locations;
    }

    public List<WorkflowJobDTO> getTaskDTOList() {
        return taskDTOList;
    }

    public void setTaskDTOList(List<WorkflowJobDTO> taskDTOList) {
        this.taskDTOList = taskDTOList;
    }

    public List<TaskRelation> getTaskRelations() {
        return taskRelations;
    }

    public void setTaskRelations(List<TaskRelation> taskRelations) {
        this.taskRelations = taskRelations;
    }
}
